﻿using B.S.BasicData.ErrorCode;
using B.S.BasicData.Read.DTOS;
using MediatR;

namespace B.S.BasicData.Read.Apilication.Common.Leave
{
    public class GetLeaveCommand:IRequest<ApiPaimg<LeaveDto>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 100;
        public int? Sates { get; set; }
        public string? leaveName { get; set; }
        /// <summary>
        /// 请假时间
        /// </summary>
        public DateTime? leaveTime { get; set; }
        /// <summary>
        /// 报道时间
        /// </summary>
        public DateTime? EndleaveTime { get; set; }
        public int UserId { get; set; }
    }
}
